package com.shen.shenproject

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.shen.shenproject.downfile.DownFileActivity
import com.shen.shenproject.nfc.NFCActivity
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        tv_helloWorld.setOnClickListener {
            startActivity(Intent(this, NFCActivity::class.java))
        }

        tv_downFile.setOnClickListener {
            startActivity(Intent(this, DownFileActivity::class.java))
        }
    }
}
